
*********************************
* Liberalization: MAIN ANALYSES *
*********************************

sum    women_startup_ratio lfund_all_ln pop_ln mpop_ratio fpop_ratio income_per_capita  unemp_rate gov_red if sample_fn==1
pwcorr women_startup_ratio lfund_all_ln pop_ln mpop_ratio fpop_ratio income_per_capita  unemp_rate gov_red if sample_fn==1


global control lfund_all_ln pop_ln mpop_ratio fpop_ratio income_per_capita_d10000 unemp_rate gov_red
reg   women_startup_ratio  c.liberal                                            $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust
reg   women_startup_ratio  c.liberal##c.mpop_ratio                              $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust
reg   women_startup_ratio                            c.liberal##c.unemp_rate    $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust
reg   women_startup_ratio  c.liberal##c.mpop_ratio   c.liberal##c.unemp_rate    $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust




global control lfund_all_ln pop_ln mpop_ratio fpop_ratio  income_per_capita_d10000 unemp_rate gov_red
poisson   n_women_founded     c.liberal                                               $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust
poisson   n_women_founded     c.liberal##c.mpop_ratio                                 $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust
poisson   n_women_founded                                  c.liberal##c.unemp_rate    $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust
poisson   n_women_founded     c.liberal##c.mpop_ratio      c.liberal##c.unemp_rate    $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust


********************************
* LEADS AND LAGS MODEL & GRAPH *
********************************

global control lfund_all_ln pop_ln mpop_ratio fpop_ratio income_per_capita_d10000 unemp_rate gov_red
reg women_startup_ratio    lib_m4 lib_m3 lib_m2 lib_m1 lib_m0 lib_p1 lib_p2 lib_p3 lib_p4m  $control i.fyear i.st_fx if fyear >= 1999 & fyear <= 2019, cluster(st_yr_fx) robust

